package com.usian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.pojo.Stock;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface StockMapper extends BaseMapper<Stock> {

    @Select("select * from stock where sku_id=#{skuId} ")
    public Stock findBySkuId(@Param("skuId") Integer skuId);
}
